import React from 'react'
import { useNavigationType } from 'react-router-dom'

export default function News() {

  // 获取当前页面的路由跳转模式   PUSH, REPLACE, POP
  const navigationType = useNavigationType();   
  console.log("@@@", navigationType);

  return (
    <ul>
      <li>news001</li>
      <li>news002</li>
      <li>news003</li>
    </ul>
  )
}
